<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>Docs for page php_lang.php</title>
	<link rel="stylesheet" type="text/css" href="../media/style.css">
	<meta http-equiv='Content-Type' content='text/html; charset=UTF-8'/>
</head>
<body>

<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
  <tr>
	<td class="header-top-left"><img src="../media/logo.png" border="0" alt="phpDocumentor " /></td>
    <td class="header-top-right">php-function<br /><div class="header-top-right-subpackage"></div></td>
  </tr>
  <tr><td colspan="2" class="header-line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
  <tr>
    <td colspan="2" class="header-menu">
      
                                                                  
                                                                                                                                                    		[ <a href="../classtrees_php-function.html" class="menu">class tree: php-function</a> ]
		[ <a href="../elementindex_php-function.html" class="menu">index: php-function</a> ]
            [ <a href="../elementindex.html" class="menu">all elements</a> ]
    </td>
  </tr>
  <tr><td colspan="2" class="header-line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
</table>

<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="195" class="menu">
		<div class="package-title">php-function</div>
  <div class="package">
	<div id="todolist">
			<p><a href="../todolist.html">Todo List</a></p>
	</div>
	</div>
      <b>Packages:</b><br />
  <div class="package">
              <a href="../li_default.html">default</a><br />
              <a href="../li_php-db.html">php-db</a><br />
              <a href="../li_php-db-proc.html">php-db-proc</a><br />
              <a href="../li_php-function.html">php-function</a><br />
              <a href="../li_php-lang.html">php-lang</a><br />
              <a href="../li_php-net.html">php-net</a><br />
              <a href="../li_php-ui-winbinder.html">php-ui-winbinder</a><br />
              <a href="../li_php-ui-winbinder-google.html">php-ui-winbinder-google</a><br />
              <a href="../li_php-ui-winbinder-layout.html">php-ui-winbinder-layout</a><br />
              <a href="../li_php-ui-winbinder-struct.html">php-ui-winbinder-struct</a><br />
              <a href="../li_php-ui-winbinder-tree.html">php-ui-winbinder-tree</a><br />
              <a href="../li_php-ui-winbinder-win32.html">php-ui-winbinder-win32</a><br />
              <a href="../li_php-util.html">php-util</a><br />
      	</div>
      <br />
                        <b>Files:</b><br />
        <div class="package">
				<span style="padding-left: 1em;"><a href="../php-function/_php---function---php_db.php.html">php_db.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../php-function/_php---function---php_lang.php.html">php_lang.php</a></span><br />
	  </div>
            <br />
                      </td>
    <td>
      <table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">

<h1>Procedural File: php_lang.php</h1>
Source Location: /php/function/php_lang.php<br /><br />

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Page Details</div>
	<div class="nav-bar">
					<span class="disabled">Page Details</span> |
															<a href="#sec-functions">Functions</a>
			</div>
	<div class="info-box-body">
		<p align="center" class="short-description"><strong>php.lang 패키지 함수 모음  static 메소드에 대한 축약형
</strong></p>
		
			</div>
</div>





	<a name="sec-functions"></a>
	<div class="info-box">
		<div class="info-box-title">Functions</div>
		<div class="nav-bar">
			<a href="#sec-description">Page Details</a> |
															<span class="disabled">Functions</span>
		</div>
		<div class="info-box-body">
			<a name="functiona_" id="functiona_"><!-- --></a>
<div class="oddrow">

	<div>
		<span class="method-title">a_</span>&nbsp;&nbsp;<span class="smalllinenumber">[line 343]</span>
	</div>
<br />
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code><a href="../php-lang/ArrayUtil.html">ArrayUtil</a> a_(
[array $arr = array()]&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table>

		<p align="center" class="short-description"><strong>ArrayUtil help 함수
</strong></p>

    		<strong>Parameters:</strong><br />
			<table border="0" cellspacing="0" cellpadding="0">
					<tr><td class="indent">
				<span class="var-type">array</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$arr:&nbsp;</span></td>
				<td>
				<span class="var-description"> 배열</span>			</td></tr>
				</table>
	
<br />
	

		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
	</div>
	</div>
<a name="functioncookie_" id="functioncookie_"><!-- --></a>
<div class="evenrow">

	<div>
		<span class="method-title">cookie_</span>&nbsp;&nbsp;<span class="smalllinenumber">[line 78]</span>
	</div>
<br />
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>void cookie_(
string $field, [mixed $value = &#039;&#039;]&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table>

		<p align="center" class="short-description"><strong>$_COOKIE 변수 값 받기  필드에 값이 없다면 기본값으로 $_COOKIE 변수에 등록이 되어진다.
</strong></p>

    		<strong>Parameters:</strong><br />
			<table border="0" cellspacing="0" cellpadding="0">
					<tr><td class="indent">
				<span class="var-type">string</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$field:&nbsp;</span></td>
				<td>
				<span class="var-description"> $_COOKIE 변수 명</span>			</td></tr>
					<tr><td class="indent">
				<span class="var-type">mixed</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$value:&nbsp;</span></td>
				<td>
				<span class="var-description"> $field에 값이 없다면 기본값 ''을 지정한다.</span>			</td></tr>
				</table>
	
<br />
	

		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
	</div>
	</div>
<a name="functiondata_" id="functiondata_"><!-- --></a>
<div class="oddrow">

	<div>
		<span class="method-title">data_</span>&nbsp;&nbsp;<span class="smalllinenumber">[line 184]</span>
	</div>
<br />
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code><a href="../php-lang/Data.html">Data</a> data_(
[$connector $connector = null], [$fields $fields = array()], [$rows $rows = array()]&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table>

		<p align="center" class="short-description"><strong>Data 객체 생성 함수
</strong></p>
<span class="description"><p><ol><li><div class="src-line">echo&nbsp;<a href="../php-function/_php---function---php_lang.php.html#functiondata_">data_</a><span class="src-sym">(</span><span class="src-id">null</span><span class="src-sym">,&nbsp;</span><span class="src-key">array</span><span class="src-sym">(</span>....<span class="src-sym">)</span><span class="src-sym">,&nbsp;</span><span class="src-key">array</span><span class="src-sym">(</span>....<span class="src-sym">))</span><span class="src-sym">;</span></div></li>
</ol></p></span>
    		<strong>Parameters:</strong><br />
			<table border="0" cellspacing="0" cellpadding="0">
					<tr><td class="indent">
				<span class="var-type">$connector</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$connector:&nbsp;</span></td>
				<td>
				<span class="var-description"> IConnector 연결자</span>			</td></tr>
					<tr><td class="indent">
				<span class="var-type">$fields</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$fields:&nbsp;</span></td>
				<td>
				<span class="var-description"> array 필드리스트</span>			</td></tr>
					<tr><td class="indent">
				<span class="var-type">$rows</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$rows:&nbsp;</span></td>
				<td>
				<span class="var-description"> array 데이타배열</span>			</td></tr>
				</table>
	
<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Return:</strong>&nbsp;&nbsp;</td><td>생성된 Data 객체</td>
  </tr>
</table>
<br />


		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
	</div>
	</div>
<a name="functiondefault_" id="functiondefault_"><!-- --></a>
<div class="evenrow">

	<div>
		<span class="method-title">default_</span>&nbsp;&nbsp;<span class="smalllinenumber">[line 208]</span>
	</div>
<br />
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>mixed default_(
mixed $value, [mixed $default = &#039;&#039;]&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table>

		<p align="center" class="short-description"><strong>기본값 설정
</strong></p>

    		<strong>Parameters:</strong><br />
			<table border="0" cellspacing="0" cellpadding="0">
					<tr><td class="indent">
				<span class="var-type">mixed</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$value:&nbsp;</span></td>
				<td>
				<span class="var-description"> 변수</span>			</td></tr>
					<tr><td class="indent">
				<span class="var-type">mixed</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$default:&nbsp;</span></td>
				<td>
				<span class="var-description"> 기본값 ''</span>			</td></tr>
				</table>
	
<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Return:</strong>&nbsp;&nbsp;</td><td>$default의 값</td>
  </tr>
</table>
<br />


		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
	</div>
	</div>
<a name="functiond_" id="functiond_"><!-- --></a>
<div class="oddrow">

	<div>
		<span class="method-title">d_</span>&nbsp;&nbsp;<span class="smalllinenumber">[line 217]</span>
	</div>
<br />
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>void d_(
 &$value, [ $default = &#039;&#039;]&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table>

		
    		<strong>Parameters:</strong><br />
			<table border="0" cellspacing="0" cellpadding="0">
					<tr><td class="indent">
				<span class="var-type"></span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">&$value:&nbsp;</span></td>
				<td>
							</td></tr>
					<tr><td class="indent">
				<span class="var-type"></span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$default:&nbsp;</span></td>
				<td>
							</td></tr>
				</table>
	
<br />
	

		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
	</div>
	</div>
<a name="functionenv_" id="functionenv_"><!-- --></a>
<div class="evenrow">

	<div>
		<span class="method-title">env_</span>&nbsp;&nbsp;<span class="smalllinenumber">[line 92]</span>
	</div>
<br />
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>void env_(
string $field&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table>

		<p align="center" class="short-description"><strong>$_SERVER 변수 값 받기
</strong></p>

    		<strong>Parameters:</strong><br />
			<table border="0" cellspacing="0" cellpadding="0">
					<tr><td class="indent">
				<span class="var-type">string</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$field:&nbsp;</span></td>
				<td>
				<span class="var-description"> 서버 변수명, 대소문자 구별 안함</span>			</td></tr>
				</table>
	
<br />
	

		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
	</div>
	</div>
<a name="functionget_" id="functionget_"><!-- --></a>
<div class="oddrow">

	<div>
		<span class="method-title">get_</span>&nbsp;&nbsp;<span class="smalllinenumber">[line 26]</span>
	</div>
<br />
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>void get_(
string $field, [mixed $value = &#039;&#039;], [ $is_set = false]&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table>

		<p align="center" class="short-description"><strong>$_GET 변수 값 받기  필드에 값이 없다면 기본값으로 $_GET 변수에 등록이 되어진다.
</strong></p>

    		<strong>Parameters:</strong><br />
			<table border="0" cellspacing="0" cellpadding="0">
					<tr><td class="indent">
				<span class="var-type">string</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$field:&nbsp;</span></td>
				<td>
				<span class="var-description"> get 변수 명</span>			</td></tr>
					<tr><td class="indent">
				<span class="var-type">mixed</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$value:&nbsp;</span></td>
				<td>
				<span class="var-description"> $field에 값이 없다면 기본값 ''을 지정한다.</span>			</td></tr>
					<tr><td class="indent">
				<span class="var-type"></span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$is_set:&nbsp;</span></td>
				<td>
							</td></tr>
				</table>
	
<br />
	

		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
	</div>
	</div>
<a name="functionglobal_" id="functionglobal_"><!-- --></a>
<div class="evenrow">

	<div>
		<span class="method-title">global_</span>&nbsp;&nbsp;<span class="smalllinenumber">[line 14]</span>
	</div>
<br />
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>array global_(
 $type&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table>

		<p align="center" class="short-description"><strong>전역 변수 얻기
</strong></p>

    		<strong>Parameters:</strong><br />
			<table border="0" cellspacing="0" cellpadding="0">
					<tr><td class="indent">
				<span class="var-type"></span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$type:&nbsp;</span></td>
				<td>
							</td></tr>
				</table>
	
<br />
	

		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
	</div>
	</div>
<a name="functionhidden_" id="functionhidden_"><!-- --></a>
<div class="oddrow">

	<div>
		<span class="method-title">hidden_</span>&nbsp;&nbsp;<span class="smalllinenumber">[line 107]</span>
	</div>
<br />
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>string hidden_(
array $arr, [string $prefix = &#039;&#039;]&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table>

		<p align="center" class="short-description"><strong>배열 &lt;input type=&quot;hidden&quot; &gt; 문자열로 반환
</strong></p>

    		<strong>Parameters:</strong><br />
			<table border="0" cellspacing="0" cellpadding="0">
					<tr><td class="indent">
				<span class="var-type">array</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$arr:&nbsp;</span></td>
				<td>
				<span class="var-description"> 배열</span>			</td></tr>
					<tr><td class="indent">
				<span class="var-type">string</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$prefix:&nbsp;</span></td>
				<td>
				<span class="var-description"> key 값 앞에 붙을 이름</span>			</td></tr>
				</table>
	
<br />
	

		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
	</div>
	</div>
<a name="functionhidden_print" id="functionhidden_print"><!-- --></a>
<div class="evenrow">

	<div>
		<span class="method-title">hidden_print</span>&nbsp;&nbsp;<span class="smalllinenumber">[line 128]</span>
	</div>
<br />
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>void hidden_print(
string $type, string $prefix&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table>

		<p align="center" class="short-description"><strong>GET, POST 값에 대해서 hidden 객체 출력
</strong></p>

    		<strong>Parameters:</strong><br />
			<table border="0" cellspacing="0" cellpadding="0">
					<tr><td class="indent">
				<span class="var-type">string</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$type:&nbsp;</span></td>
				<td>
				<span class="var-description"> get, post, request, session, server 등등</span>			</td></tr>
					<tr><td class="indent">
				<span class="var-type">string</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$prefix:&nbsp;</span></td>
				<td>
				<span class="var-description"> key 값 앞에 붙을 이름</span>			</td></tr>
				</table>
	
<br />
	

		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
	</div>
	</div>
<a name="functionhtml_" id="functionhtml_"><!-- --></a>
<div class="oddrow">

	<div>
		<span class="method-title">html_</span>&nbsp;&nbsp;<span class="smalllinenumber">[line 317]</span>
	</div>
<br />
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code><a href="../php-lang/Tag.html">Tag</a> html_(
string $tag, [array $attribute = array()], [array $style = array()]&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table>

		<p align="center" class="short-description"><strong>html 태그를 생성해주기 위한 함수
</strong></p>
<span class="description"><p><ol><li><div class="src-line">&nbsp;<span class="src-var">$html&nbsp;</span>=&nbsp;<a href="../php-function/_php---function---php_lang.php.html#functionhtml_">html_</a><span class="src-sym">(</span><span class="src-str">'a'</span><span class="src-sym">,&nbsp;</span><span class="src-key">array</span><span class="src-sym">(</span><span class="src-str">'href'&nbsp;</span>=&gt;&nbsp;<span class="src-str">'#'</span><span class="src-sym">)</span><span class="src-sym">,&nbsp;</span><span class="src-key">array</span><span class="src-sym">(</span><span class="src-str">'color'&nbsp;</span>=&gt;&nbsp;<span class="src-str">'red'</span><span class="src-sym">))</span><span class="src-sym">-&gt;</span><span class="src-id">add</span><span class="src-sym">(</span><span class="src-str">'안녕'</span><span class="src-sym">)</span><span class="src-sym">;&nbsp;&nbsp;&nbsp;</span></div></li>
</ol></p></span>
    		<strong>Parameters:</strong><br />
			<table border="0" cellspacing="0" cellpadding="0">
					<tr><td class="indent">
				<span class="var-type">string</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$tag:&nbsp;</span></td>
				<td>
				<span class="var-description"> html태그 이름</span>			</td></tr>
					<tr><td class="indent">
				<span class="var-type">array</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$attribute:&nbsp;</span></td>
				<td>
				<span class="var-description"> 속성 리스트</span>			</td></tr>
					<tr><td class="indent">
				<span class="var-type">array</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$style:&nbsp;</span></td>
				<td>
				<span class="var-description"> 스타일 리스트</span>			</td></tr>
				</table>
	
<br />
	

		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
	</div>
	</div>
<a name="functionif2_" id="functionif2_"><!-- --></a>
<div class="evenrow">

	<div>
		<span class="method-title">if2_</span>&nbsp;&nbsp;<span class="smalllinenumber">[line 254]</span>
	</div>
<br />
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>mixed if2_(
mixed $value1, mixed $value2, [mixed $return1 = &#039;&#039;], [mixed $return2 = &#039;&#039;]&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table>

		<p align="center" class="short-description"><strong>기본값 설정
</strong></p>
<span class="description"><p><ol><li><div class="src-line">echo&nbsp;<span class="src-id">IF2_</span><span class="src-sym">(</span><span class="src-var">$a</span><span class="src-sym">,&nbsp;</span><span class="src-str">'1'</span><span class="src-sym">,&nbsp;</span><span class="src-str">'2'</span><span class="src-sym">,&nbsp;</span><span class="src-str">'3'</span><span class="src-sym">)</span><span class="src-sym">;&nbsp;&nbsp;&nbsp;</span><span class="src-comm">//&nbsp;$a가&nbsp;1이면&nbsp;2&nbsp;,&nbsp;아니면&nbsp;3</span></div></li>
</ol></p></span>
    		<strong>Parameters:</strong><br />
			<table border="0" cellspacing="0" cellpadding="0">
					<tr><td class="indent">
				<span class="var-type">mixed</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$value1:&nbsp;</span></td>
				<td>
				<span class="var-description"> 변수</span>			</td></tr>
					<tr><td class="indent">
				<span class="var-type">mixed</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$value2:&nbsp;</span></td>
				<td>
				<span class="var-description"> 변수</span>			</td></tr>
					<tr><td class="indent">
				<span class="var-type">mixed</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$return1:&nbsp;</span></td>
				<td>
				<span class="var-description"> $value1과 $value2 가 같을 때 반환 값</span>			</td></tr>
					<tr><td class="indent">
				<span class="var-type">mixed</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$return2:&nbsp;</span></td>
				<td>
				<span class="var-description"> $value1과 $value2 가 다를 때 반환 값</span>			</td></tr>
				</table>
	
<br />
	

		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
	</div>
	</div>
<a name="functionif_" id="functionif_"><!-- --></a>
<div class="oddrow">

	<div>
		<span class="method-title">if_</span>&nbsp;&nbsp;<span class="smalllinenumber">[line 237]</span>
	</div>
<br />
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>mixed if_(
mixed $value1, mixed $value2, [mixed $default = &#039;&#039;]&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table>

		<p align="center" class="short-description"><strong>기본값 설정
</strong></p>
<span class="description"><p><ol><li><div class="src-line">echo&nbsp;<span class="src-id">IF_</span><span class="src-sym">(</span><span class="src-var">$a</span><span class="src-sym">,&nbsp;</span><span class="src-str">'1'</span><span class="src-sym">,&nbsp;</span><span class="src-str">'2'</span><span class="src-sym">)</span><span class="src-sym">;&nbsp;&nbsp;&nbsp;</span><span class="src-comm">//&nbsp;$a가&nbsp;1이면&nbsp;$a&nbsp;,&nbsp;아니면&nbsp;2</span></div></li>
</ol></p></span>
    		<strong>Parameters:</strong><br />
			<table border="0" cellspacing="0" cellpadding="0">
					<tr><td class="indent">
				<span class="var-type">mixed</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$value1:&nbsp;</span></td>
				<td>
				<span class="var-description"> 변수</span>			</td></tr>
					<tr><td class="indent">
				<span class="var-type">mixed</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$value2:&nbsp;</span></td>
				<td>
				<span class="var-description"> 변수</span>			</td></tr>
					<tr><td class="indent">
				<span class="var-type">mixed</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$default:&nbsp;</span></td>
				<td>
				<span class="var-description"> 기본값 ''</span>			</td></tr>
				</table>
	
<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Return:</strong>&nbsp;&nbsp;</td><td>$value2 가 같으면 $value1, 다르면 $default 반환</td>
  </tr>
</table>
<br />


		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
	</div>
	</div>
<a name="functionin_list" id="functionin_list"><!-- --></a>
<div class="evenrow">

	<div>
		<span class="method-title">in_list</span>&nbsp;&nbsp;<span class="smalllinenumber">[line 281]</span>
	</div>
<br />
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>bool in_list(
[mixed|... $arr = php에서 사용할 수 있는 모든 자료형]&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table>

		<p align="center" class="short-description"><strong>in_array 의 일반 매개변수 버전
</strong></p>
<span class="description"><p><ol><li><div class="src-line">&nbsp;<span class="src-key">if&nbsp;</span><span class="src-sym">(</span><a href="../php-function/_php---function---php_lang.php.html#functionin_list">in_list</a><span class="src-sym">(</span><span class="src-str">'아빠'</span><span class="src-sym">,&nbsp;</span><span class="src-str">&quot;엄마&quot;</span><span class="src-sym">,&nbsp;</span><span class="src-str">&quot;아빠&quot;</span><span class="src-sym">,&nbsp;</span><span class="src-str">'아들'</span><span class="src-sym">,&nbsp;</span><span class="src-str">'딸'</span><span class="src-sym">))&nbsp;</span>echo&nbsp;<span class="src-str">&quot;아빠&nbsp;있음&quot;</span><span class="src-sym">;</span></div></li>
</ol></p><p>가장 첫번째 값이 나머지 값들중에 있는지 비교한다.</p></span>
    		<strong>Parameters:</strong><br />
			<table border="0" cellspacing="0" cellpadding="0">
					<tr><td class="indent">
				<span class="var-type">mixed|...</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$arr:&nbsp;</span></td>
				<td>
				<span class="var-description"> php에서 사용할 수 있는 모든 자료형</span>			</td></tr>
				</table>
	
<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Return:</strong>&nbsp;&nbsp;</td><td>배열안에 속해 있으면 true, 아니면 false</td>
  </tr>
  <tr>
    <td class="indent"><strong>See:</strong>&nbsp;&nbsp;</td><td><a href="http://www.php.net/in_array">in_array()</a></td>
  </tr>
</table>
<br />


		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
	</div>
	</div>
<a name="functionpost_" id="functionpost_"><!-- --></a>
<div class="oddrow">

	<div>
		<span class="method-title">post_</span>&nbsp;&nbsp;<span class="smalllinenumber">[line 38]</span>
	</div>
<br />
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>void post_(
string $field, [mixed $value = &#039;&#039;], [ $is_set = false]&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table>

		<p align="center" class="short-description"><strong>$_POST 변수 값 받기  필드에 값이 없다면 기본값으로 $_POST 변수에 등록이 되어진다.
</strong></p>

    		<strong>Parameters:</strong><br />
			<table border="0" cellspacing="0" cellpadding="0">
					<tr><td class="indent">
				<span class="var-type">string</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$field:&nbsp;</span></td>
				<td>
				<span class="var-description"> post 변수 명</span>			</td></tr>
					<tr><td class="indent">
				<span class="var-type">mixed</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$value:&nbsp;</span></td>
				<td>
				<span class="var-description"> $field에 값이 없다면 기본값 ''을 지정한다.</span>			</td></tr>
					<tr><td class="indent">
				<span class="var-type"></span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$is_set:&nbsp;</span></td>
				<td>
							</td></tr>
				</table>
	
<br />
	

		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
	</div>
	</div>
<a name="functionpre_" id="functionpre_"><!-- --></a>
<div class="evenrow">

	<div>
		<span class="method-title">pre_</span>&nbsp;&nbsp;<span class="smalllinenumber">[line 263]</span>
	</div>
<br />
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>void pre_(
mixed $arr&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table>

		<p align="center" class="short-description"><strong>pre 태그를 포함한 print_r() 함수 버전
</strong></p>

    		<strong>Parameters:</strong><br />
			<table border="0" cellspacing="0" cellpadding="0">
					<tr><td class="indent">
				<span class="var-type">mixed</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$arr:&nbsp;</span></td>
				<td>
				<span class="var-description"> php에서 사용할 수 있는 모든 자료형</span>			</td></tr>
				</table>
	
<br />
	

		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
	</div>
	</div>
<a name="functionrequest_" id="functionrequest_"><!-- --></a>
<div class="oddrow">

	<div>
		<span class="method-title">request_</span>&nbsp;&nbsp;<span class="smalllinenumber">[line 50]</span>
	</div>
<br />
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>void request_(
string $field, [mixed $value = &#039;&#039;], [ $is_set = false]&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table>

		<p align="center" class="short-description"><strong>$_REQUEST 변수 값 받기  필드에 값이 없다면 기본값으로 $_REQUEST 변수에 등록이 되어진다.
</strong></p>

    		<strong>Parameters:</strong><br />
			<table border="0" cellspacing="0" cellpadding="0">
					<tr><td class="indent">
				<span class="var-type">string</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$field:&nbsp;</span></td>
				<td>
				<span class="var-description"> get 변수 명</span>			</td></tr>
					<tr><td class="indent">
				<span class="var-type">mixed</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$value:&nbsp;</span></td>
				<td>
				<span class="var-description"> $field에 값이 없다면 기본값 ''을 지정한다.</span>			</td></tr>
					<tr><td class="indent">
				<span class="var-type"></span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$is_set:&nbsp;</span></td>
				<td>
							</td></tr>
				</table>
	
<br />
	

		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
	</div>
	</div>
<a name="functionsession_" id="functionsession_"><!-- --></a>
<div class="evenrow">

	<div>
		<span class="method-title">session_</span>&nbsp;&nbsp;<span class="smalllinenumber">[line 62]</span>
	</div>
<br />
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>void session_(
string $field, [mixed $value = &#039;&#039;]&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table>

		<p align="center" class="short-description"><strong>$_SESSION 변수 값 받기  필드에 값이 없다면 기본값으로 $_SESSION 변수에 등록이 되어진다.
</strong></p>

    		<strong>Parameters:</strong><br />
			<table border="0" cellspacing="0" cellpadding="0">
					<tr><td class="indent">
				<span class="var-type">string</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$field:&nbsp;</span></td>
				<td>
				<span class="var-description"> $_SESSION 키이름</span>			</td></tr>
					<tr><td class="indent">
				<span class="var-type">mixed</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$value:&nbsp;</span></td>
				<td>
				<span class="var-description"> $field에 값이 없다면 기본값 ''을 지정한다.</span>			</td></tr>
				</table>
	
<br />
	

		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
	</div>
	</div>
<a name="functionsession_close" id="functionsession_close"><!-- --></a>
<div class="oddrow">

	<div>
		<span class="method-title">session_close</span>&nbsp;&nbsp;<span class="smalllinenumber">[line 193]</span>
	</div>
<br />
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>void session_close(
)</code>
    </td></tr></table>
    </td></tr></table>

		
    
<br />
	

		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
	</div>
	</div>
<a name="functionstring_" id="functionstring_"><!-- --></a>
<div class="evenrow">

	<div>
		<span class="method-title">string_</span>&nbsp;&nbsp;<span class="smalllinenumber">[line 333]</span>
	</div>
<br />
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code><a href="../php-lang/String.html">String</a> string_(
[$string $string = &#039;&#039;]&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table>

		<p align="center" class="short-description"><strong>string 클래스를 위한 utility 클래스
</strong></p>

    		<strong>Parameters:</strong><br />
			<table border="0" cellspacing="0" cellpadding="0">
					<tr><td class="indent">
				<span class="var-type">$string</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$string:&nbsp;</span></td>
				<td>
				<span class="var-description"> string 생성될문자열</span>			</td></tr>
				</table>
	
<br />
	

		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
	</div>
	</div>
<a name="functiontag_" id="functiontag_"><!-- --></a>
<div class="oddrow">

	<div>
		<span class="method-title">tag_</span>&nbsp;&nbsp;<span class="smalllinenumber">[line 301]</span>
	</div>
<br />
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code><a href="../php-lang/Tag.html">Tag</a> tag_(
string $tag, [boolean $hasClose = false]&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table>

		<p align="center" class="short-description"><strong>Tag를 만들기 위한 Function
</strong></p>
<span class="description"><p><ol><li><div class="src-line">&nbsp;<span class="src-var">$div&nbsp;</span>=&nbsp;<a href="../php-function/_php---function---php_lang.php.html#functiontag_">tag_</a><span class="src-sym">(</span><span class="src-str">'div'</span><span class="src-sym">,&nbsp;</span><span class="src-id">true</span><span class="src-sym">)</span><span class="src-sym">-&gt;</span><span class="src-id">add</span><span class="src-sym">(</span><span class="src-str">'안녕'</span><span class="src-sym">)</span><span class="src-sym">;&nbsp;&nbsp;&nbsp;</span></div></li>
</ol></p></span>
    		<strong>Parameters:</strong><br />
			<table border="0" cellspacing="0" cellpadding="0">
					<tr><td class="indent">
				<span class="var-type">string</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$tag:&nbsp;</span></td>
				<td>
				<span class="var-description"> Tag 이름</span>			</td></tr>
					<tr><td class="indent">
				<span class="var-type">boolean</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$hasClose:&nbsp;</span></td>
				<td>
				<span class="var-description"> true : Two 태그, false : One 태그, 기본값 : false</span>			</td></tr>
				</table>
	
<br />
	

		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
	</div>
	</div>
<a name="functionview_" id="functionview_"><!-- --></a>
<div class="evenrow">

	<div>
		<span class="method-title">view_</span>&nbsp;&nbsp;<span class="smalllinenumber">[line 139]</span>
	</div>
<br />
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>void view_(
string $type&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table>

		<p align="center" class="short-description"><strong>GET, POST 값에 대해서 table 출력
</strong></p>

    		<strong>Parameters:</strong><br />
			<table border="0" cellspacing="0" cellpadding="0">
					<tr><td class="indent">
				<span class="var-type">string</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$type:&nbsp;</span></td>
				<td>
				<span class="var-description"> get, post, request, session, server 등등</span>			</td></tr>
				</table>
	
<br />
	

		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
	</div>
	</div>
		</div>
	</div><br />

        <div class="credit">
		    <hr class="separator" />
		    Documentation generated on Fri, 30 Apr 2010 14:18:14 +0900 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
	      </div>
      </td></tr></table>
    </td>
  </tr>
</table>

</body>
</html>